// PlayList.cpp: implementation of the CPlayList class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "GYMusic.h"
#include "PlayList.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CPlayList::CPlayList()
{
	m_nNum = 0;
	m_strSongName = "";
	m_strSinger = "";
	m_strUrl = "";
	next = NULL;
}

CPlayList::CPlayList(int Num, CString Singer, CString SongName, CString Url, CPlayList* Next/*=NULL*/)
{
	m_nNum = Num;
	m_strSinger = Singer;
	m_strSongName = SongName;
	m_strUrl = Url;
	next = Next;
}

CPlayList::~CPlayList()
{
	delete next;
	next = NULL;
}


void CPlayList::SetSongName(CString SongName)
{
	m_strSongName = SongName;
}

void CPlayList::SetUrl(CString Url)
{
	m_strUrl = Url;
}

void CPlayList::SetSinger(CString Singer)
{
	m_strSinger = Singer;
}

void CPlayList::SetNum(int Num)
{
	m_nNum = Num;
}

void CPlayList::SetNext(CPlayList* Playlist)
{
	next = Playlist;
}

void CPlayList::SetPlayList(int Num, CString Singer, CString SongName, CString Url, CPlayList* Next/* =NULL */)
{
	m_nNum = Num;
	m_strSinger = Singer;
	m_strSongName = SongName;
	m_strUrl = Url;
	next = Next;
}

void CPlayList::AddFolderFiles(CString strDir)
{

}
